#include "list.h"

int main()
{
	srand((unsigned)time(NULL));
	plistNode S = listInit();
	for (int i = 0; i < 10; i++)
	{
		ListPushFront(S, rand() % 200);	
	}
	listPrintf(S, 1);

	listPrintf(S);
	ListQuickSort(S,S->next, S->prev);
	listPrintf(S);
	system("pause");
	return 0;
}